public class SlowUIAgent extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
SlowUIAgent() |
| Modifier and Type | Method and Description |
|---|---|
Action |
chooseAction()
this function is called after ReceiveMessage,
with an Offer-action.
|
void |
cleanUp() |
static java.lang.String |
getVersion()
Creates a new instance of UIAgent
|
void |
init(int sessionNumber,
int sessionTotalNumber,
java.util.Date startT,
java.lang.Integer totalTimeP,
UtilitySpace us)
One agent will be kept alive over multiple sessions.
|
boolean |
isUIAgent()
Determine if this agent is communicating with the user about nego steps.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, init, internalInit, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic static java.lang.String getVersion()
public void init(int sessionNumber,
int sessionTotalNumber,
java.util.Date startT,
java.lang.Integer totalTimeP,
UtilitySpace us)
public void ReceiveMessage(Action opponentAction)
AgentReceiveMessage in class Agentpublic Action chooseAction()
AgentchooseAction in class Agentpublic void cleanUp()
public boolean isUIAgent()
Agent